#ifndef APPLICATION_H
#define APPLICATION_H

#include <string>

#include "SFML/Graphics.hpp"

#include "CommandArgs.h"
#include "Game.h"

class Application
{
public:
    Application();
	virtual ~Application();
	
    virtual void initialise(CommandArgs args = CommandArgs());
	virtual void run();
private:
    void eventUpdate(sf::RenderWindow& window);
    void timeUpdate(float delta);
    void render(sf::RenderWindow& window);
    
    void setActiveScreen(/*screen*/);

    void menu();
    void newGame();
    void exitApp();
    void exitToMenu();

    // Deletes the game in the _temp folder from the Saves directory (if any).
    void removeTempSave();
    	
	sf::RenderWindow window;

	bool exit;

    Game activeGame;
};

#endif